package com.tianqu.tms.dao;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.TmsCarModelDto;

public interface TmsCarModelDao {
 
	/**
	 * @param id
	 * @return
	 * @throws TmsDaoException
	 */
	public TmsCarModelDto get(String id)throws TmsDaoException;
	
	
	/**
	 * @param bean
	 * @throws TmsDaoException
	 */
	public void insert(TmsCarModelDto bean)throws TmsDaoException;
	
	
	/**
	 * @param bean
	 * @throws TmsDaoException
	 */
	public void update(TmsCarModelDto bean)throws TmsDaoException;
	
	/**
	 * @param bean
	 * @throws TmsDaoException
	 */
	public void update4Api(TmsCarModelDto bean)throws TmsDaoException;
	
	/**
	 * @param id
	 * @return
	 * @throws BatchDaoException
	 */
	public TmsCarModelDto getCarModel(String id)throws TmsDaoException;
}
